<?php
namespace Common\Model;
use Common\Model\AiModel;
class DoctorShanchangModel extends AiModel {
	public function listinfo($uid){
		$where['ds_uid']=$uid;
		if($uid){
			return $this->where($where)->alias('a')->join('LEFT JOIN jcys_doctor_class as b ON a.ds_class=b.id')->field('b.class_name')->select();
		}else{ 
			return 0;
		} 
	}
	//通过id 字符串获取 汉字 擅长
	public function ToIdStringGetFont($sting){
	  $font='';
      $sting=explode(',', $string);
      foreach ($sting as $key => $value) {
      	 $where
      	 $font=$this->where()->find();
      }
	}
}